CLASSPATH=$CLASSPATH:.:./bin:./resources:./lib/mysql-connector-java-5.1.16-bin.jar:./lib/commons-collections-3.1.jar:./lib/commons-logging.jar:./lib/dom4j-1.6.1.jar
CLASSPATH=$CLASSPATH:./lib/slf4j-api-1.6.1.jar:./lib/slf4j-nop-1.6.1.jar:./lib/jta-1.1.jar:./lib/javassist-3.12.0.GA.jar:./lib/hibernate3.jar
CLASSPATH=$CLASSPATH:./lib/hibernate-jpa-2.0-api-1.0.0.Final.jar:./lib/postgresql-8.4-702.jdbc4.jar
echo $CLASSPATH
javac -classpath $CLASSPATH src/com/test/hib/*.java src/com/test/*.java  -d ./bin
javac -classpath $CLASSPATH src/com/test/*.java -d ./bin
cp ./src/com/test/hib/*.xml ./bin/com/test/hib
java -classpath $CLASSPATH com.test.TestMain
